import Vue from 'vue';
import Vuex from 'vuex';
// import persist from 'vuex-persistedstate';
import getters from './getters';

Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {},
  // plugins: [
  //   persist() // 刷新默认保存到localStorage
  // ],
  getters,
  strict: false
});

export default store;
